// @ts-ignore
/* eslint-disable */

/**
 * 请勿随意修改。
 * */

import { request, type RequestOptions } from '@/utils/request'


/** 话题列表 GET /meereen/video/list */
export async function videoList(params: API.VideoParams, options?: RequestOptions) {
  return request(`/meereen/video/list`, {
    method: 'GET',
    params: {
      ...params
    },
    ...(options || {
      isReturnResult: false
    })
  })
}


/** 查看视频发布信息 GET /meereen/video/echoReleaseCopy/${videoId} */
export async function videoEchoInfo(videoId: string, options?: RequestOptions) {
  return request(`/meereen/video/echoReleaseCopy/${videoId}`, {
    method: 'GET',
    params: {},
    ...(options || {
      isReturnResult: true
    })
  })
}


/** 分词 POST /meereen/keywords/esIk */
export async function videoEsIK(body, options?: RequestOptions) {
  return request(`/meereen/keywords/esIk`, {
    method: 'POST',
    data: body,
    ...(options || {
      isReturnResult: true
    })
  })
}


/** 转文字 POST /meereen/video/fileTrans */
export async function videoFileTrans(body, options?: RequestOptions) {
  return request(`/meereen/video/fileTrans`, {
    method: 'POST',
    data: body,
    ...(options || {
      isReturnResult: true
    })
  })
}


/** 添加发布文案 POST /meereen/video/addCopy */
export async function videoAddCopy(body, options?: RequestOptions) {
  return request(`/meereen/video/addCopy`, {
    method: 'POST',
    data: body,
    ...(options || {
      isReturnResult: true
    })
  })
}


/** 下载视频后调用接口 POST /meereen/video/downloadVoiceOrVideo */
export async function videoDownLoad(body, options?: RequestOptions) {
  return request(`/meereen/video/downloadVoiceOrVideo`, {
    method: 'POST',
    data: body,
    ...(options || {
      isReturnResult: true
    })
  })
}


/** 下载视频修改状态 POST /meereen/video/downloadVideoAndZzyjSuccess */
export async function videoDownLoadStatus(body, options?: RequestOptions) {
  return request(`/meereen/video/downloadVideoAndZzyjSuccess`, {
    method: 'POST',
    data: body,
    ...(options || {
    })
  })
}



/** 上传视频 POST /meereen/voice/auditVoice */
export async function videoAuditVoice(body, options?: RequestOptions) {
  return request(`/meereen/voice/auditVoice`, {
    method: 'POST',
    data: body,
    ...(options || {
    })
  })
}


/** 下载视频后调用接口 */
export async function videoDownLoadEcho(body, options?: RequestOptions) {
  return request(`/meereen/video/downloadVoiceOrVideo`, {
    method: 'POST',
    data: body,
    ...(options || {
    })
  })
}


/** 下载视频后调用接口 */
export async function videoDownLoadVideo(body, options?: RequestOptions) {
  return request(`/meereen/video/uploadVideoLink`, {
    method: 'POST',
    data: body,
    ...(options || {
    })
  })
}


/** 视频终审核 POST /meereen/video/finalJudgment */
export async function videoFinalJud(body, options?: RequestOptions) {
  return request(`/meereen/video/finalJudgment`, {
    method: 'POST',
    data: body,
    ...(options || {
    })
  })
}



/** 发布视频 POST  /meereen/video/releaseVideo */
export async function videoReleaseVideo(body, options?: RequestOptions) {
  return request(`/meereen/video/releaseVideo`, {
    method: 'POST',
    data: body,
    ...(options || {
    })
  })
}

/** 获取视频发布信息 GET /meereen/video/echoReleaseCopy/${videoId} */
export async function videoEchoRelease(videoId: string, options?: RequestOptions) {
  return request(`/meereen/video/echoReleaseCopy/${videoId}`, {
    method: 'GET',
    params: {},
    ...(options || {
    })
  })
}


/** 录制医生列表 GET /meereen/video/selectDoctorEcho */
export async function videoDoctorList(params, options?: RequestOptions) {
  return request(`/meereen/video/selectDoctorEcho`, {
    method: 'GET',
    params: {
      ...params
    },
    ...(options || {
    })
  })
}



/** 根据角色标识获取用户下拉列表选择 GET /system/user/getUserDropdownSelectionResult */
export async function videoUserResultList(params, options?: RequestOptions) {
  return request(`/system/user/getUserDropdownSelectionResult`, {
    method: 'GET',
    params: {
      ...params
    },
    ...(options || {
    })
  })
}



/** 根据角色标识获取用户下拉列表选择 GET /system/user/getUserDropdownSelectionResult */
export async function videoVoiceInfo(body, options?: RequestOptions) {
  return request(`/meereen/video/downloadVoiceOrVideo`, {
    method: 'POST',
    data:body,
    ...(options || {
    })
  })
}
